<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Search By Name</title>

</head>
<body style="background-color: #ccc">
	
		<fieldset style="background-color: #ccc">
			<legend align="top">Book Search</legend>
			<center>
				<table style="background-color: #ccc">
					<tr>
						<td>Search Books</td>
						<td><select
							onchange="window.open(this.options[this.selectedIndex].value,'_top')">
								<option value="">Choose the choice...</option>
								<option value="bookid.jsp">Search by id</option>
								<option value="bookname.jsp">search by name</option>
								<option value="bookauthor.jsp">search by author</option>


						</select>
						</td>
					</tr>

				</table>
			</center>

			<center>
				<form  action="SearchBookName" method="get">
					<table style="background-color: #ccc">
						<tr>
							<td>Book Name</td>

							<td align="left">&nbsp<input type="text" name="bookname" />
							</td>
						</tr>
						<tr>
							<td align="right"><a href="searchbook.jsp"
								style="text-decoration: none;">Back</a>
							</td>&nbsp


							<td align="right"><input type="submit" value="submit" />
							</td>
						</tr>


					</table>
				</form>
			</center>

		</fieldset>
</body>
</html>